package com.ctgu.tengyun.service.saleorder;

import com.ctgu.tengyun.domain.SaleOrderRecord;

import java.util.List;

/**
 * Created by liaoweizhi on 2019/8/7.
 */
public interface SaleOrderRecordService {

    int insertSelective(SaleOrderRecord record);

    Integer countSparePart(String partNo);

    List<SaleOrderRecord> selectSaleOrderList(String partNo, Integer pageNo, Integer pageSize);

    SaleOrderRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SaleOrderRecord record);

    int countSaleOrder(String partNo, String contactNo, Integer orderStatus);

    List<SaleOrderRecord> selectSaleOrder(String partNo, String contactNo, Integer orderStatus, Integer pageNo, Integer pageSize);
}
